<!DOCTYPE html>
<html >
<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
		<meta name="description">
		<meta name="keywords">
		<title>注册 - 小马网</title>
	    <link rel="stylesheet" type="text/css" href="css/login.css"/>
      <link rel="stylesheet" type="text/css" href="css/app.css"/>
	    <link rel="shortcut icon" href="img/icon/favicon.ico">
	    <style type="text/css">
	    </style>
</head>
	<body class="">

		<form class="f1 f1-login bc-fff auto j-vali-form" method="post" action="{{ route('register') }}" style="position: absolute;top:130px;right: 110px;">
        {{ csrf_field() }}
		<fieldset>
			<input name="csrfmiddlewaretoken" value="zL99pZXeWIF4yPWjgDCVckqVy4hHqm4a" type="hidden">
			<legend class="tac">注册小马通行证</legend>
			<p id="errorMsg" class="s_msg tac j-vali-error">

</p>
    <p class="s_fc">
      <label>请输入用户名</label>
      <input placeholder="请输入用户名"  tabindex="1" class="s_int" name="name" value="" required="" type="text">
      @if ($errors->has('name'))
          <span class="help-block">
              <strong style="color:red;">{{ $errors->first('name') }}</strong>
          </span>
      @endif
    </p>
    <p class="s_fc">
      <label>请输入邮箱</label>
      <input placeholder="请输入邮箱"  tabindex="1" class="s_int" name="email" value="" required="" type="email">
      @if ($errors->has('email'))
          <span class="help-block">
              <strong style="color:red;">{{ $errors->first('email') }}</strong>
          </span>
      @endif
    </p>
    <p class="s_fc">
      <label>请输入密码</label>
      <input placeholder="请输入密码"  tabindex="2" class="s_int" name="password" value="" required="" type="password">
      @if ($errors->has('password'))
          <span class="help-block">
              <strong style="color:red;">{{ $errors->first('password') }}</strong>
          </span>
      @endif
    </p>
    <p class="s_fc">
      <label>请确认密码</label>
      <input id="password-confirm" placeholder="请再次输入密码"  tabindex="3" class="s_int" name="password_confirmation" value="" required="" type="password">
			@if ($errors->has('password-confirm'))
					<span class="help-block">
							<strong style="color:red;">{{ $errors->first('password-confirm') }}</strong>
					</span>
			@endif
    </p>
    <p class="s_fc">
      <label>请输入手机号</label>
      <input placeholder="请输入手机号"  tabindex="4" class="s_int" name="telphone" value="" required="" type="text">
      @if ($errors->has('telphone'))
          <span class="help-block">
              <strong style="color:red;">{{ $errors->first('telphone') }}</strong>
          </span>
      @endif
    </p>
    <p class="s_fc s_captcha"><label>验证码</label><input tabindex="5" placeholder="验证码" class="s_int" name="captcha" maxlength="4" minlength="4" size="4" required="" value="" type="text">
      <img src="{{captcha_src('flat')}}" id="captcha_send_msg"
                     onclick="this.src='{{captcha_src('flat')}}?' + new Date().getTime()" title="换一张">
       @if ($errors->has('captcha'))
           <span class="help-block">
               <strong style="color:red;">{{ $errors->first('captcha') }}</strong>
           </span>
       @endif
    <!--<p class="mt10">
      <label><input placeholder="需要同意注册协议" name="agree" checked="checked" type="checkbox"> 我已阅读并同意<a href="https://sso.yunaq.com/terms/" target="_blank">《知道创宇用户注册协议》</a></label>
    </p>-->
    <p class="mt20 mb20"><button type="submit" class="s_bt">注册</button></p>
    <p class="tac"><a href="{{ route('login') }}" class="fs12">登录通行证</a></p>

		</fieldset>
	</form>

  </body>
</html>
